import thenFs from 'then-fs'

thenFs.readFile('./text/1.txt','utf-8')
.then(res => {
  console.log(res)
  return thenFs.readFile('./text/2.xt','utf-8')
}).then(res => {
  console.log(res)
}).catch(err => {console.log(err);})


